package com.heima.wemedia.clients;

import com.heima.wemedia.service.WmHandleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v1")
public class handleSensitiveScanClient {

    @Autowired
    private WmHandleService wmHandleService;
    //文本检测
    @GetMapping("/handle/{string}")
    public boolean handle(@PathVariable String string) {
       return wmHandleService.handle(string);
    }
}
